export default [
  {
    path: '/appointment',
    component: resolve => require(['../views/appointment/Index'], resolve),
    meta: { requiresAuth: true, title: '门诊就医' }
  },
  {
    path: '/appointment/select-department',
    component: resolve => require(['../views/appointment/SelectDepartment'], resolve),
    meta: { requiresAuth: true }
  },
  {
    path: '/appointment/select-doctor',
    component: resolve => require(['../views/appointment/SelectDoctor'], resolve),
    meta: { requiresAuth: true }
  },
  {
    path: '/appointment/doctor-info',
    component: resolve => require(['../views/appointment/DoctorInfo'], resolve),
    meta: { requiresAuth: true }
  },
  {
    path: '/appointment/doctor-more',
    component: resolve => require(['../views/appointment/DoctorMore'], resolve),
    meta: { requiresAuth: true }
  },
  {
    path: '/appointment/confirm-appoint',
    component: resolve => require(['../views/appointment/ConfirmAppoint'], resolve),
    meta: { requiresAuth: true }
  },
  {
    path: '/appointment/appoint-pay',
    component: resolve => require(['../views/appointment/AppointPay'], resolve),
    meta: { requiresAuth: true }
  },
  {
    path: '/appointment/appoint-pay-thirdparty',
    component: resolve => require(['../views/appointment/AppointPayThirdparty'], resolve),
    meta: { requiresAuth: true }
  },
  {
    path: '/appointment/appoint-pay-success',
    component: resolve => require(['../views/appointment/AppointPaySuccess'], resolve),
    meta: { requiresAuth: true }
  },
  {
    path: '/appointment/history',
    component: resolve => require(['../views/appointment/History'], resolve),
    meta: { requiresAuth: true }
  },
  {
    path: '/appointment/cancel-order',
    component: resolve => require(['../views/appointment/CancelOrder'], resolve),
    meta: { requiresAuth: true }
  },
  {
    path: '/appointment/appoint-detail',
    component: resolve => require(['../views/appointment/AppointDetail'], resolve),
    meta: { requiresAuth: true }
  },
  {
    path: '/appointment/confirm-appoint-success',
    component: resolve => require(['../views/appointment/ConfirmAppointSuccess'], resolve),
    meta: { requiresAuth: true }
  }
]
